package com.minyue.pojo;

import com.minyue.enums.MapperMethodEnum;

/**
 * @author ：minyue
 * @date ：Created in 2021/7/22 10:40 下午
 * @description：
 */
public class MappedStatement {

    /**
     * id
     */
    private String id;

    /**
     * 入参
     */
    private String paramterType;

    /**
     * 返回参数
     */
    private String resultType;

    /**
     * sql语句
     */
    private String sqlText;

    /**
     * 方法类型
     */
    private MapperMethodEnum methodEnum;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParamterType() {
        return paramterType;
    }

    public void setParamterType(String paramterType) {
        this.paramterType = paramterType;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getSqlText() {
        return sqlText;
    }

    public void setSqlText(String sqlText) {
        this.sqlText = sqlText;
    }

    public MapperMethodEnum getMethodEnum() {
        return methodEnum;
    }

    public void setMethodEnum(MapperMethodEnum methodEnum) {
        this.methodEnum = methodEnum;
    }

    @Override
    public String toString() {
        return "MappedStatement{" +
                "id='" + id + '\'' +
                ", paramterType='" + paramterType + '\'' +
                ", resultType='" + resultType + '\'' +
                ", sqlText='" + sqlText + '\'' +
                ", methodEnum=" + methodEnum +
                '}';
    }
}
